﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Office.Interop.Outlook;

namespace Sync.Outlook
{
    internal static class Local
    {
        #region Members

        static readonly Application App=new Application();        
        public static Categories Categories { get { return App.Session.Categories; }}
        public static Items Tasks { get { return App.Session.GetDefaultFolder(OlDefaultFolders.olFolderTasks).Items; } }

        public static Application Application { get { return App; } }
       
        #endregion

        #region Constructors & Init


        
        #endregion

        #region Public Methods

        public static void Quit()
        {
            App.Quit();
        }

        #endregion

    }
}
